package com.ikas.ai.server.module.equipment.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 设备资产管理
 *
 * @author tang.xuandong
 * @version 1.0.0
 * @date 2023/2/1 10:41
 */
@Data
@TableName("t_base_equipment")
public class Equipment {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 设备编码
     */
    @NotNull(message = "设备编码不能为空！")
    private String equipmentCode;

    /**
     * 设备名称
     */
    @NotNull(message = "设备名称不能为空！")
    private String equipmentName;

    /**
     * 系统id
     */
    private Long systemId;

    /**
     * 系统编号
     */
    private String systemNo;

    private Date createTime;

    private Date updateTime;

    private Long creator;

    private Long updater;

}
